<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="Logger,gugga.logging.Logger,enabled,getLogger,getLoggerFor,getParent,getName,finest,finer,fine,info,warning,severe,log,setLevel,getLevel,setFilter,getFilter,addPublisher,removePublisher,getPublishers,isLoggable" name="keywords">
<title>gugga.logging.Logger</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Logger - API Documentation';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?gugga/logging/Logger.html&amp;gugga/logging/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;Logger</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class Logger"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">gugga.logging</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Logger</td>
</tr>
</table>
<p></p>
 A Logger object is used to log messages for a specific system or application component. 
 Loggers are normally named, using a hierarchical dot-separated namespace. 
 Logger names can be arbitrary strings, but they should normally be based on the package name or class name of the logged component, such as mx.core or mx.controls. 
 In additon it is possible to create "anonymous" Loggers that are not stored in the Logger namespace. 
 
 <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html" target="mm_external">http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#enabled">enabled</a> : Boolean = true<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#Logger()">Logger</a>(name:String)</div>
<div class="summaryTableDescription">
  Private constructor.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addPublisher()">addPublisher</a>(publisher:<a href="IPublisher.html">IPublisher</a>):Boolean</div>
<div class="summaryTableDescription">
  Adds a publisher for this logger to receive logging messages.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#fine()">fine</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a FINE message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#finer()">finer</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a FINER message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#finest()">finest</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a FINEST message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getFilter()">getFilter</a>():<a href="../logging/IFilter.html">IFilter</a>
</div>
<div class="summaryTableDescription">
  Get the current filter for this Logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLevel()">getLevel</a>():<a href="../logging/Level.html">Level</a>
</div>
<div class="summaryTableDescription">
  Get the log Level that has been specified for this Logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLogger()">getLogger</a>(name:String = null):<a href="../logging/Logger.html">Logger</a>
</div>
<div class="summaryTableDescription">[static]
  Find or create a logger for a named subsystem.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLoggerFor()">getLoggerFor</a>(aObject:Object):<a href="../logging/Logger.html">Logger</a>
</div>
<div class="summaryTableDescription">[static]</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getName()">getName</a>():String</div>
<div class="summaryTableDescription">
  Get the name for this logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getParent()">getParent</a>():<a href="../logging/Logger.html">Logger</a>
</div>
<div class="summaryTableDescription">
  Return the parent for this Logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPublishers()">getPublishers</a>():<a href="util/List.html">List</a>
</div>
<div class="summaryTableDescription">
  Gets a list with Publishers currently associated with this logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#info()">info</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a INFO message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isLoggable()">isLoggable</a>(level:<a href="Level.html">Level</a>):Boolean</div>
<div class="summaryTableDescription">
  Check if a message of the given level would actually be logged by this logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#log()">log</a>(level:<a href="Level.html">Level</a>, message:String):void</div>
<div class="summaryTableDescription">
  Log a message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removePublisher()">removePublisher</a>(publisher:<a href="IPublisher.html">IPublisher</a>):Boolean</div>
<div class="summaryTableDescription">
  Removes a publisher currently associated with this logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setFilter()">setFilter</a>(filter:<a href="IFilter.html">IFilter</a>):void</div>
<div class="summaryTableDescription">
  Set a filter to control output on this Logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setLevel()">setLevel</a>(level:<a href="Level.html">Level</a>):void</div>
<div class="summaryTableDescription">
  Set the log level specifying which message levels will be logged by this logger.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#severe()">severe</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a SEVERE message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#warning()">warning</a>(message:String):void</div>
<div class="summaryTableDescription">
  Log a WARNING message.</div>
</td><td class="summaryTableOwnerCol">Logger</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="enabled"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">enabled</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public static var enabled:Boolean = true</code>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="Logger()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">Logger</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function Logger(name:String)</code><p>
  Private constructor. Use factory method to create logger objects only.
  
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> &mdash; the logger name
  </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addPublisher()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addPublisher</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addPublisher(publisher:<a href="IPublisher.html">IPublisher</a>):Boolean</code><p>
  Adds a publisher for this logger to receive logging messages.
  By default, Loggers also send their output to their parent logger.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">publisher</span>:<a href="IPublisher.html">IPublisher</a></code> &mdash; new publisher object.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; true if the publisher has been added successfully, otherwise false
  </td>
</tr>
</table>
</div>
<a name="fine()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">fine</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function fine(message:String):void</code><p>
  Log a FINE message. 
  If the logger is currently enabled for the FINE message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<a name="finer()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">finer</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function finer(message:String):void</code><p>
  Log a FINER message. 
  If the logger is currently enabled for the FINER message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<a name="finest()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">finest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function finest(message:String):void</code><p>
  Log a FINEST message. 
  If the logger is currently enabled for the FINEST message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<a name="getFilter()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getFilter</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getFilter():<a href="../logging/IFilter.html">IFilter</a></code><p>
  Get the current filter for this Logger. 
    </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../logging/IFilter.html">IFilter</a></code> &mdash; 
                        A filter object or undefined.
  
                        
                     </td>
</tr>
</table>
</div>
<a name="getLevel()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLevel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLevel():<a href="../logging/Level.html">Level</a></code><p>
  Get the log Level that has been specified for this Logger. 
  The result may be undefined, which means that this logger's effective level will be inherited from its parent. 
    </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../logging/Level.html">Level</a></code> &mdash; 
                        The level object for this logger or undefined.
  
                        
                     </td>
</tr>
</table>
</div>
<a name="getLogger()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLogger</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getLogger(name:String = null):<a href="../logging/Logger.html">Logger</a></code><p>
  Find or create a logger for a named subsystem. 
  If a logger has already been created with the given name it is returned. Otherwise a new logger is created. 
  If a new logger is created its log level will be configured based on the LogManager configuration and it will configured to also send logging output to its parent's publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A name for the logger, or nothing for anonymous loggers. A name should be a dot-separated name and should normally be based on the package name or class name of the subsystem, such as mx.core or mx.controls 
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../logging/Logger.html">Logger</a></code> &mdash; 
                        A suitable logger.
  
                        
                     </td>
</tr>
</table>
</div>
<a name="getLoggerFor()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLoggerFor</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getLoggerFor(aObject:Object):<a href="../logging/Logger.html">Logger</a></code><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">aObject</span>:Object</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../logging/Logger.html">Logger</a></code></td>
</tr>
</table>
</div>
<a name="getName()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getName():String</code><p>
  Get the name for this logger.
    </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; The logger's name or undefined for anonymous loggers.
  </td>
</tr>
</table>
</div>
<a name="getParent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getParent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getParent():<a href="../logging/Logger.html">Logger</a></code><p>
  Return the parent for this Logger. 
    This method returns the nearest extant parent in the namespace. 
  Thus if a Logger is called "a.b.c.d", and a Logger called "a.b" has been created but no logger "a.b.c" exists, then a call of getParent on the Logger "a.b.c.d" will return the Logger "a.b". 
  
  The parent for the anonymous Logger is always the root (global) Logger.
    The result will be undefined if it is called on the root (global) Logger in the namespace. 
    </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../logging/Logger.html">Logger</a></code> &mdash; 
                        A logger object or undefined
  
                        
                     </td>
</tr>
</table>
</div>
<a name="getPublishers()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPublishers</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getPublishers():<a href="util/List.html">List</a></code><p>
  Gets a list with Publishers currently associated with this logger.
    </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="util/List.html">List</a></code> &mdash; 
                        A list with publishers (may be empty)
  
                        
                     </td>
</tr>
</table>
</div>
<a name="info()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">info</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function info(message:String):void</code><p>
  Log a INFO message. 
  If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<a name="isLoggable()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isLoggable</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isLoggable(level:<a href="Level.html">Level</a>):Boolean</code><p>
  Check if a message of the given level would actually be logged by this logger. 
  This check is based on the Loggers effective level, which may be inherited from its parent. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">level</span>:<a href="Level.html">Level</a></code> &mdash; The level to be checked
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; true if the given message is currently being logged
  </td>
</tr>
</table>
</div>
<a name="log()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">log</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function log(level:<a href="Level.html">Level</a>, message:String):void</code><p>
  Log a message. 
  If the logger is currently enabled for the given message level then the given message is forwarded to all the registered publishers. 
  
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">level</span>:<a href="Level.html">Level</a></code> &mdash; The level object
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; The string message 
  </td>
</tr>
</table>
</div>
<a name="removePublisher()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removePublisher</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removePublisher(publisher:<a href="IPublisher.html">IPublisher</a>):Boolean</code><p>
  Removes a publisher currently associated with this logger.
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">publisher</span>:<a href="IPublisher.html">IPublisher</a></code> &mdash; publisher object.
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; true if the publisher has been removed successfully, otherwise false
  </td>
</tr>
</table>
</div>
<a name="setFilter()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setFilter</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setFilter(filter:<a href="IFilter.html">IFilter</a>):void</code><p>
  Set a filter to control output on this Logger. 
  After passing the initial "level" check, the Logger will call this Filter to check if a log record should really be published. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">filter</span>:<a href="IFilter.html">IFilter</a></code> &mdash; filter object
  </td>
</tr>
</table>
</div>
<a name="setLevel()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setLevel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setLevel(level:<a href="Level.html">Level</a>):void</code><p>
  Set the log level specifying which message levels will be logged by this logger. 
  Message levels lower than this value will be discarded. The level value Level.OFF can be used to turn off logging. 
  If the new level is undefined, it means that this node should inherit its level from its nearest ancestor with a specific (non-undefined) level value. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">level</span>:<a href="Level.html">Level</a></code> &mdash; new level or undefined.
  </td>
</tr>
</table>
</div>
<a name="severe()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">severe</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function severe(message:String):void</code><p>
  Log a SEVERE message. 
  If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<a name="warning()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">warning</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function warning(message:String):void</code><p>
  Log a WARNING message. 
  If the logger is currently enabled for the WARNING message level then the given message is forwarded to all the registered publishers. 
    </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">message</span>:String</code> &mdash; A string message
  </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
